package top.xin1901.j2ecd.service;

import top.xin1901.j2ecd.beans.Permission;

import java.util.List;

/**
 * @author HeYunjia
 */
public interface PermissionService {
    Permission insertOne(Permission permission);

    Integer deleteOne(Long permissionId);

    Permission updateOne(Permission permission);

    List<Permission> selectAll();

    Permission selectOne(Long permissionId);

    List<Permission> selectByTypeId(Long typeId);
}
